﻿using Microsoft.AspNetCore.Mvc.Filters;

namespace B.Z.Inventory.API.Read
{
    public class InventoryIExceptions : IExceptionFilter
    {
        private readonly ILogger<InventoryIExceptions> logger;
        public void OnException(ExceptionContext context)
        {
            logger.LogInformation($"全局异常：【{context.Exception.Message}】");
        }
    }
}
